package com.etone.smartAudit.vo.dataModelType;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @author: sovy
 * @date: 2020/11/5
 * @description:
 */
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Data
@ApiModel(value = "数据模型分类树形详情")
public class DataModelTypeTreeVO implements Serializable {

    @ApiModelProperty("id")
    private Integer id;

    @ApiModelProperty("类型名称")
    private String name;

    @ApiModelProperty("类型级别")
    private Integer level;

    @ApiModelProperty("父级id")
    private Integer pid;

    @ApiModelProperty("子分类")
    private List<DataModelTypeTreeVO> children;

    @ApiModelProperty("排序")
    private Integer sort;

    @ApiModelProperty("备注")
    private String remark;
}
